package org.nci.platform.workflow.service;

import gh.priv.general.common.vo.PageResult;
import org.nci.platform.workflow.dto.SysFormPageQuery;
import org.nci.platform.workflow.dto.SysFormQuery;
import org.nci.platform.workflow.entity.SysForm;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 表单
 * @author Tony
 * @date 2021-04-03
 */
public interface ISysFormService
{

    SysForm getById(long l);

    PageResult<SysForm> page(SysFormPageQuery query);

    List<SysForm> list(SysFormQuery query);

    void export(HttpServletResponse response, SysFormQuery query);

    void save(SysForm sysForm);

    void updateById(SysForm sysForm);

    void removeByIds(List<Long> formIds);

}
